package operation;

import books.Book;
import books.BookList;

public class ShowOperation implements IOperation {
    @Override
    public void work(BookList bookList) {
        System.out.println("====================================================================================");
        int len = bookList.getBookSize() ;
        for(int i = 0 ; i < len ;i++){
            Book book = bookList.getBook(i) ;
            System.out.println(book);
        }
        System.out.println("====================================================================================");
    }
}